// CalcMoneyDlg.h : header file
//

#if !defined(AFX_CALCMONEYDLG_H__106C99B9_0650_4364_A72D_471784F73997__INCLUDED_)
#define AFX_CALCMONEYDLG_H__106C99B9_0650_4364_A72D_471784F73997__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CCalcMoneyDlg dialog

class CCalcMoneyDlg : public CDialog
{
// Construction
public:
	CCalcMoneyDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CCalcMoneyDlg)
	enum { IDD = IDD_CALCMONEY_DIALOG };
	CEdit	m_edtEndYearValue;
	CComboBox	m_cboRate;
	CComboBox	m_cboYearCount;
	CComboBox	m_cboPerYearMoney;
	CComboBox	m_cboEndAge;
	CComboBox	m_cboBeginAge;
	CString	m_strPerYearMoney;
	CString	m_strBeginAge;
	CString	m_strEndAge;
	CString	m_strYearCount;
	CString	m_strRate;
	double	m_dEndYearValue;
	int		m_nCalcPerYearValue;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCalcMoneyDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCalcMoneyDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonInfo();
	afx_msg void OnButtonCalc();
	afx_msg void OnRadioCalcperyearvalue();
	afx_msg void OnRadioCalcperyearinvest();
	afx_msg void OnButtonExplain();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString GetExeFilePath() const;
	bool CreateNotepadProcess(LPCTSTR lpszFileName) const;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CALCMONEYDLG_H__106C99B9_0650_4364_A72D_471784F73997__INCLUDED_)
